package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜单编辑对象 s_menu
 * 
 * @author yu
 * @date 2024-05-08
 */
public class SMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单id */
    private Long menuId;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String menuName;

    /** 父菜单id */
    private String parentOd;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer nickName;

    /** 路由地址 */
    private String path;

    /** 菜单类型 */
    private String menuType;

    /** 菜单状态（0显示1隐藏） */
    private String visible;

    /** 菜单状态（0显示1停用） */
    @Excel(name = "菜单状态", readConverterExp = "0=显示1停用")
    private String status;

    /** 权限标识 */
    @Excel(name = "权限标识")
    private String perms;

    /** 组件路径 */
    @Excel(name = "组件路径")
    private String component;

    /** 路由参数 */
    private String qurey;

    public void setMenuId(Long menuId) 
    {
        this.menuId = menuId;
    }

    public Long getMenuId() 
    {
        return menuId;
    }
    public void setMenuName(String menuName) 
    {
        this.menuName = menuName;
    }

    public String getMenuName() 
    {
        return menuName;
    }
    public void setParentOd(String parentOd) 
    {
        this.parentOd = parentOd;
    }

    public String getParentOd() 
    {
        return parentOd;
    }
    public void setNickName(Integer nickName) 
    {
        this.nickName = nickName;
    }

    public Integer getNickName() 
    {
        return nickName;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setMenuType(String menuType) 
    {
        this.menuType = menuType;
    }

    public String getMenuType() 
    {
        return menuType;
    }
    public void setVisible(String visible) 
    {
        this.visible = visible;
    }

    public String getVisible() 
    {
        return visible;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPerms(String perms) 
    {
        this.perms = perms;
    }

    public String getPerms() 
    {
        return perms;
    }
    public void setComponent(String component) 
    {
        this.component = component;
    }

    public String getComponent() 
    {
        return component;
    }
    public void setQurey(String qurey) 
    {
        this.qurey = qurey;
    }

    public String getQurey() 
    {
        return qurey;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("menuId", getMenuId())
            .append("menuName", getMenuName())
            .append("parentOd", getParentOd())
            .append("nickName", getNickName())
            .append("path", getPath())
            .append("menuType", getMenuType())
            .append("visible", getVisible())
            .append("status", getStatus())
            .append("perms", getPerms())
            .append("component", getComponent())
            .append("qurey", getQurey())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
